import { useGetCurrentUser } from "./useGetCurrentUser"



export default function CheckAuth():boolean{
    const user = useGetCurrentUser()
    return user.isSuccess
}